<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<title>人事管理系统 ——员工管理</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="expires" content="0" />    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
	<meta http-equiv="description" content="This is my page" />
	<link href="css/css.css" type="text/css" rel="stylesheet" />
	<script type="text/javascript" src="${ctx}/js/jquery-1.8.3.js"></script>
	<script type="text/javascript">
		function move(row) {
			row.style.backgroundColor = "#ebf0f5";
			row.style.cursor = "pointer";
		}
		function out(row) {
			row.style.backgroundColor = "#ffffff";
		}
		/** 生成Excel文件 */
		function excelFn(){
			document.location = "${pageContext.request.contextPath}/emp/downExcel.do";
		};
		
	</script>
</head>
<body>
	<!-- 导航 -->
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr><td height="10"></td></tr>
	  <tr>
	    <td width="15" height="32"><img src="images/main_locleft.gif" width="15" height="32"></td>
		<td class="main_locbg font2"><img src="images/pointer.gif">&nbsp;&nbsp;&nbsp;当前位置：员工管理 &gt; 员工查询</td>
		<td width="15" height="32"><img src="images/main_locright.gif" width="15" height="32"></td>
	  </tr>
	</table>
	
	<table width="100%" height="90%" border="0" cellpadding="5" cellspacing="0" class="main_tabbor">
	  <!-- 查询区  -->
	  <tr valign="top">
	    <td height="30">
		  <table width="100%" border="0" cellpadding="0" cellspacing="10" class="main_tab">
		    <tr>
			  <td class="fftd">
			  	<form name="empform" method="post" id="empform" action="/emp/selectEmp.do" theme="simple">
				    <table width="100%" border="0" cellpadding="0" cellspacing="0">
					  <tr>
					    <td class="font3">
					    	职位：
							<select name="jobId" style="width:120px;">
								<option value="0">--请选择职位--</option>
								<option value="1">项目经理</option>
								<option value="2">架构师</option>
								<option value="3">技术主管</option>
								<option value="4">技术组长</option>
								<option value="5">高级开发工程师</option>
								<option value="6">中级开发工程师</option>
								<option value="7">初级开发工程师</option>
							</select>
					    	姓名：<input type="text" name="name"/>
					    	身份证号码：<input type="text" name="cardId" maxLength="18"/>
					    </td>
					  </tr>
					  <tr>
					    <td class="font3">
					    	性别：<select name="sex" style="width:120px;">
								<option value="0">--请选择性别--</option>
								<option value="1">男</option>
								<option value="2">女</option>
							</select>
					    	手机：<input type="text" name="phone"/>
					    	所属部门ID：<select  name="deptId" style="width:100px;">
								<option value="0">--部门选择--</option>
							</select>&nbsp;
					    	<input type="submit" value="搜索"/>
					    	<input type="button" value="导出EXCEL" onclick="excelFn();"/>
					    	
					    </td>
					  </tr>
					</table>
				</form>
			  </td>
			</tr>
		  </table>
		</td>
	  </tr>
	  
	  <!-- 数据展示区 -->
	  <tr valign="top">
	    <td height="20">
		  <table width="100%" border="1" cellpadding="5" cellspacing="0" style="border:#c2c6cc 1px solid; border-collapse:collapse;">
		    <tr class="main_trbg_tit">
			  <td>编号</td>
			  <td>姓名</td>
			  <td>性别</td>
			  <td>手机号码</td>
			  <td>邮箱</td>
			  <td>职位</td>
			  <td>学历</td>
			  <td>身份证号码</td>
			  <td>部门</td>
			  <td>联系地址</td>
			  <td>建档日期</td>
			  <td colspan="2" align="center">操作</td>
			</tr>
			
			<tr class="main_trbg" onMouseOver="move(this);" onMouseOut="out(this);">
			  <td>1</td>
			  <td>张三</td>
			  <td>男</td>
			  <td>13888888888</td>
			  <td>test7@163.com</td>
			  <td>项目经理</td>
			  <td>本科</td>
			  <td>420426199008210047</td>
			  <td>技术部</td>
			  <td>珠江新城</td>
			  <td>
				2012-07-10
			  </td>
			  <td align="center" width="40px;"><a href="${pageContext.request.contextPath}/emp/showUpdateEmp.do?id=${id}">
					<img title="修改" src="images/update.gif"/></a>
			  </td>
			  <td align="center"  width="40px;"><a href="${pageContext.request.contextPath}/emp/deleteEmp.do?id=${id}">
					<img title="删除" src="images/delete.gif"/></a>
			  </td>
			</tr>
			
		  </table>
		</td>
	  </tr>
	  <!-- 分页标签 -->
	  <tr valign="top"><td align="center" class="font3">
	  	
	  </td></tr>
	</table>
	<div style="height:10px;"></div>
</body>
</html>